package info.nightbrest.agt.client.presenter;

import com.google.gwt.user.client.ui.HasWidgets;
import info.nightbrest.agt.client.Agt;
import info.nightbrest.agt.client.AgtDispatcher;
import info.nightbrest.agt.client.common.Presenter;
import info.nightbrest.agt.client.view.LoginPanelView;

/**
 * Created by IntelliJ IDEA.
 * User: Ermal
 * Date: 07.12.11
 * Time: 3:01
 */
public class LoginPanelPresenter implements Presenter, LoginPanelView.Presenter
{
	private final AgtDispatcher dispatcher;
	private final LoginPanelView view;

	public LoginPanelPresenter(LoginPanelView view)
	{
		this.dispatcher = Agt.getDispatcher();
		this.view = view;
		this.view.setPresenter(this);
	}

	@Override
	public void go(HasWidgets container)
	{

	}

	@Override
	public void onLoginButtonClicked()
	{
		//To change body of implemented methods use File | Settings | File Templates.
	}
}